package com.ruoyi.project.report.stats.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * IP统计对象 ip_stats
 * 
 * @author shixiangwen
 * @date 2020-01-09
 */
public class IpStats extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 日期 */
    @Excel(name = "日期")
    private String date;

    /** 应用 */
    @Excel(name = "应用")
    private String app;

    /** IP数 */
    @Excel(name = "IP数")
    private Long ipCount;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDate(String date) 
    {
        this.date = date;
    }

    public String getDate() 
    {
        return date;
    }
    public void setApp(String app) 
    {
        this.app = app;
    }

    public String getApp() 
    {
        return app;
    }
    public void setIpCount(Long ipCount) 
    {
        this.ipCount = ipCount;
    }

    public Long getIpCount() 
    {
        return ipCount;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("app", getApp())
            .append("ipCount", getIpCount())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
